home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Games / Arashi 1.1.1 / source code / For your think c folder / VA Kit ƒ / VAText.h < prev   
Encoding:
C/C++ Source or Header  |  1992-09-09  |  1.0 KB  |  42 lines  |  [TEXT/KAHL]

  1. /*/
  2.      Project Arashi: VAText.h
  3.      Major release: Version 1.1d2, 9/5/95
  4.  
  5.      Last modification: Wednesday, September 9, 1992, 21:13
  6.      Created: Friday, December 21, 1990, 19:17
  7.  
  8.      Copyright © 1990-1992, Juri Munkki
  9. /*/
  10.  
  11. /*
  12. **    Prototypes and defines for public vector animation kit routines.
  13. **    These includes are for use with the vector text drawing routines.
  14. */
  15.  
  16. #define    MAXSTROKES    10
  17.  
  18. typedef    struct
  19. {
  20.     unsigned    char    a;            /*    First point of line stroke.            */
  21.     unsigned    char    b;            /*    Second endpoint.                    */
  22. }    VAStroke;
  23.  
  24. typedef struct
  25. {
  26.     int            width;                    /*    Width of character in gridunits        */
  27.     int            height;                    /*    Height of character in gridunits    */
  28.     int            nStrokes;                /*    Number of strokes in mark            */
  29.     VAStroke    strokes[MAXSTROKES];    /*    Table of strokes for drawing mark    */
  30. }    VAMark;
  31.  
  32. typedef    int    VAMarkTranslator[256];
  33. typedef    enum {    VALeft, VARight, VACenter, VAStarWars    }    VATextStyle;
  34.  
  35. typedef struct
  36. {
  37.     Fixed                hScale;
  38.     Fixed                vScale;
  39.     VAMark                **marks;
  40.     VAMarkTranslator    *translation;
  41.     VATextStyle            
  42. }